﻿using System;
using System.Collections.Generic;
using System.Text;
using xiaodingmarket_Domain_core.Events;

namespace xiaodingmarket_Domain.Events.Commodity
{
    public class CommodityReviewEvent : Event
    {
        public CommodityReviewEvent(Guid commodityId, Guid studentId, Guid modifyId,DateTime time)
        {
            Id = studentId;
            CommodityId = commodityId;
            StudentId = studentId;
            ModifyId = modifyId;
            AggregateId = studentId;
        }
        public Guid Id;
        /// <summary>
        /// 商品id
        /// </summary>
        public Guid CommodityId { get; private set; }
        /// <summary>
        /// 发布人id
        /// </summary>
        public Guid StudentId { get; set; }
        /// <summary>
        /// 修改人id(用来存放最终审核人信息（因为举报功能可能会有多次审核）)
        /// </summary>
        public Guid ModifyId { get; set; }
        /// <summary>
        /// 商品最后一次修改时间
        /// </summary>
        public DateTime ModifyTime { get; set; }
    }
}
